<?php
/**
 * 广西中职学校管理系统数据爬取
 */

namespace console\controllers;
use yii\console\Controller;
use console\spider\ZzglSpider;

class SpiderController extends Controller
{

    public function actionIndex()
    {
        echo "spider start ....\n";
        $zzglSpider = new ZzglSpider();
        $zzglSpider->start();
    }

}